package com.ls.pattern.command.action;

import com.ls.pattern.command.FtpServer;

/**
 * @author 挥之以墨
 */
public class DownloadAction implements IFtpAction {

    private FtpServer ftpServer;

    public DownloadAction(FtpServer ftpServer) {
        this.ftpServer = ftpServer;
    }

    @Override
    public void execute() {
        ftpServer.download();
    }
}
